SwedbankPay\Checkout\WooCommerce\WC_Shortcode_Checkout A

Total Complexity 70
Dependencies 2
Dependents 0
Total lines 577
Lines of code 337
Logical lines of code 168
Comment lines 131
Methods 14
Properties 13

Methods 14

Method Rating Maintainability Complexity Lines of code
ajax_sbp_update_order()
A
39 14 61
add_scripts()
A
35 12 86
__construct()
A
45 14 33
override_checkout_page()
A
49 9 31
shortcode()
A
43 6 47
ajax_sbp_recalculate()
S
59 3 15
get_gateway()
S
65 3 9
plugins_loaded()
S
69 2 7
override_template()
S
64 2 10
add_settings()
S
61 1 13
ajax_sbp_submit_order()
S
62 1 11
register_post_type()
S
68 1 9
checkout_init()
S
91 1 2
get_checkout_url()
S
82 1 3